package com.csnf.mapper;

import csnf.com.entity.*;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;

@Mapper
public interface AdminMapper {
    int login(Admin admin);
    ArrayList<Merchant> selectAll();
    ArrayList<Merchant> selectMerchantByIsExamine();
    ArrayList<Merchant> selectMerchantById(int id);
    int updateMerchantIsExamine(Integer id, int isExamine);
}
